import { POST,UPLOAD } from "../../services/request";

export default {
    login(data = {})
    {
        return POST({
            // http://域名/shop/business/base/login
            // http://域名/模块/控制器/子控制器/方法
            url:'business/base/login',
            params:data
        });
    },
    register(data = {})
    {
        return POST({
            url:'business/base/register',
            params:data
        })
    },
    check(data = {})
    {
        return POST({
            url:'business/base/check',
            params:data
        })
    },
    profile(data = {})
    {
        return UPLOAD({
            url:'business/base/profile',
            params:data
        })
    },
    getcode(data = {}){
        return POST({
            url:'business/base/getcodeyzm',
            params:data
        })
    },
    WangjiSubmit(data = {}){
        return POST({
            url:'business/base/wangjisub',
            params:data
        })
    },
    chonPassword(data = {}){
        return POST({
            url:'business/base/chonpassword',
            params:data
        })
    }
}